# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s

# CHECK: vcvtne2ps2bf16 %zmm24, %zmm23, %zmm22
0x62,0x82,0x47,0x40,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %zmm24, %zmm23, %zmm22 {%k7}
0x62,0x82,0x47,0x47,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %zmm24, %zmm23, %zmm22 {%k7} {z}
0x62,0x82,0x47,0xc7,0x72,0xf0

# CHECK: vcvtne2ps2bf16  268435456(%rbp,%r14,8), %zmm23, %zmm22
0x62,0xa2,0x47,0x40,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%r8,%rax,4), %zmm23, %zmm22 {%k7}
0x62,0xc2,0x47,0x47,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%rip){1to16}, %zmm23, %zmm22
0x62,0xe2,0x47,0x50,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtne2ps2bf16  -2048(,%rbp,2), %zmm23, %zmm22
0x62,0xe2,0x47,0x40,0x72,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vcvtne2ps2bf16  8128(%rcx), %zmm23, %zmm22 {%k7} {z}
0x62,0xe2,0x47,0xc7,0x72,0x71,0x7f

# CHECK: vcvtne2ps2bf16  -512(%rdx){1to16}, %zmm23, %zmm22 {%k7} {z}
0x62,0xe2,0x47,0xd7,0x72,0x72,0x80

# CHECK: vcvtneps2bf16 %zmm23, %ymm22
0x62,0xa2,0x7e,0x48,0x72,0xf7

# CHECK: vcvtneps2bf16 %zmm23, %ymm22 {%k7}
0x62,0xa2,0x7e,0x4f,0x72,0xf7

# CHECK: vcvtneps2bf16 %zmm23, %ymm22 {%k7} {z}
0x62,0xa2,0x7e,0xcf,0x72,0xf7

# CHECK: vcvtneps2bf16  268435456(%rbp,%r14,8), %ymm22
0x62,0xa2,0x7e,0x48,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16  291(%r8,%rax,4), %ymm22 {%k7}
0x62,0xc2,0x7e,0x4f,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16  (%rip){1to16}, %ymm22
0x62,0xe2,0x7e,0x58,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtneps2bf16  -2048(,%rbp,2), %ymm22
0x62,0xe2,0x7e,0x48,0x72,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vcvtneps2bf16  8128(%rcx), %ymm22 {%k7} {z}
0x62,0xe2,0x7e,0xcf,0x72,0x71,0x7f

# CHECK: vcvtneps2bf16  -512(%rdx){1to16}, %ymm22 {%k7} {z}
0x62,0xe2,0x7e,0xdf,0x72,0x72,0x80

# CHECK: vdpbf16ps %zmm24, %zmm23, %zmm22
0x62,0x82,0x46,0x40,0x52,0xf0

# CHECK: vdpbf16ps %zmm24, %zmm23, %zmm22 {%k7}
0x62,0x82,0x46,0x47,0x52,0xf0

# CHECK: vdpbf16ps %zmm24, %zmm23, %zmm22 {%k7} {z}
0x62,0x82,0x46,0xc7,0x52,0xf0

# CHECK: vdpbf16ps  268435456(%rbp,%r14,8), %zmm23, %zmm22
0x62,0xa2,0x46,0x40,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%r8,%rax,4), %zmm23, %zmm22 {%k7}
0x62,0xc2,0x46,0x47,0x52,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%rip){1to16}, %zmm23, %zmm22
0x62,0xe2,0x46,0x50,0x52,0x35,0x00,0x00,0x00,0x00

# CHECK: vdpbf16ps  -2048(,%rbp,2), %zmm23, %zmm22
0x62,0xe2,0x46,0x40,0x52,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vdpbf16ps  8128(%rcx), %zmm23, %zmm22 {%k7} {z}
0x62,0xe2,0x46,0xc7,0x52,0x71,0x7f

# CHECK: vdpbf16ps  -512(%rdx){1to16}, %zmm23, %zmm22 {%k7} {z}
0x62,0xe2,0x46,0xd7,0x52,0x72,0x80
